package com.vast.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vast.system.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com.vast.admin.entity.ContractRefund")
@Data
@TableName(value = "contract_refund")
public class ContractRefund extends SuperEntity {
//     @TableId(value = "id", type = IdType.INPUT)
//    @ApiModelProperty(value="null")
//    private Long id;

    /**
     * 合同ID
     */
    @TableField(value = "contract_id")
    @ApiModelProperty(value="合同ID")
    private Long contractId;

    /**
     * 系统合同编号
     */
    @TableField(value = "contract_no")
    @ApiModelProperty(value="系统合同编号")
    private String contractNo;

    /**
     * 合同名称
     */
    @TableField(value = "contract_name")
    @ApiModelProperty(value="合同名称")
    private String contractName;

    /**
     * 退款金额
     */
    @TableField(value = "amount")
    @ApiModelProperty(value="退款金额")
    private Double amount;

    /**
     * 微信支付退款订单号
     */
    @TableField(value = "wechat_no")
    @ApiModelProperty(value="微信支付退款订单号")
    private String wechatNo;

    /**
     * 退款状态（1申请中 2审核通过 3审核失败 4退款成功 9退款失败）
     */
    @TableField(value = "status")
    @ApiModelProperty(value="退款状态（1申请中 2审核通过 3审核失败 4退款成功 9退款失败）")
    private String status;

    /**
     * 退款原因
     */
    @TableField(value = "apply_desc")
    @ApiModelProperty(value="退款原因")
    private String applyDesc;

    /**
     * 备注
     */
    @TableField(value = "comment")
    @ApiModelProperty(value="备注")
    private String comment;

//    /**
//     * 创建人
//     */
//    @TableField(value = "create_by")
//    @ApiModelProperty(value="创建人")
//    private Long createBy;
//
//    /**
//     * 创建时间
//     */
//    @TableField(value = "create_time")
//    @ApiModelProperty(value="创建时间")
//    private Date createTime;
//
//    /**
//     * 修改人
//     */
//    @TableField(value = "update_by")
//    @ApiModelProperty(value="修改人")
//    private Long updateBy;
//
//    /**
//     * 修改时间
//     */
//    @TableField(value = "update_time")
//    @ApiModelProperty(value="修改时间")
//    private Date updateTime;

//    /**
//     * 逻辑删除 0-删除, 默认-1
//     */
//    @TableField(value = "valid")
//    @ApiModelProperty(value="逻辑删除 0-删除, 默认-1")
//    private Integer valid;

    public static final String COL_CONTRACT_ID = "contract_id";

    public static final String COL_CONTRACT_NO = "contract_no";

    public static final String COL_CONTRACT_NAME = "contract_name";

    public static final String COL_AMOUNT = "amount";

    public static final String COL_WECHAT_NO = "wechat_no";

    public static final String COL_STATUS = "status";

    public static final String COL_APPLY_DESC = "apply_desc";

    public static final String COL_COMMENT = "comment";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_VALID = "valid";
}